//
//  BVMyDiscountCell.h
//  BuyVegetables1
//
//  Created by 叶思超 on 15/10/23.
//  Copyright (c) 2015年 叶思超. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BVMyDiscount;
@class BVMyDiscountCell;
@protocol DiscountDelegate <NSObject>

- (void)discountCell:(BVMyDiscountCell *)cell didSelectedDsicont:(BVMyDiscount *)discount;

@end
@interface BVMyDiscountCell : UITableViewCell
/**
 *  创建cell
 */
+ (instancetype)cellWithTableView:(UITableView *)tableView;

/**
 *  传递模型
 */
@property (nonatomic, weak) BVMyDiscount *myDiscount;


//是否显示选择button
@property (nonatomic,assign) BOOL showChooseBtn;

@property (weak, nonatomic) IBOutlet UIButton *chooseBtn;

@property (nonatomic,assign) id <DiscountDelegate>delegate;
@end
